<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/hdocs/style/css/login.css" type="text/css" rel="stylesheet" />
<link href="/hdocs/style/css/common.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/hdocs/jquery/js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="/hdocs/style/js/common.js"></script>
<title>瓜朋网-登录</title>
<script type="text/javascript">
$(document).ready(function() {
	$("#loginBtn").click(function() {
		if(validateForm()){
			$("#loginForm").submit();
		}
	});
});

function validateForm(){
	if ($("#loginId").val() == "") {
		alert("请输入登陆ID！");
		$("#loginId").focus();
		return false;
	}
	if ($("#password").val() == "") {
		alert("请输入密码！");
		$("#password").focus();
		return false;
	}
	return true;
}
</script>
</head>
<body>
	#set ($menuIndex="index") #parse("/inc/header.html")
	<div class="centent">
		<div class="cenLe">
			<form id="loginForm" onsubmit="return validateForm();" method=post name="Login" action="/auth/login.jsp">
			<div class="login">
				<p class="logTit">
					<img src="/hdocs/style/img/logPsa.jpg" />
				</p>
				<div class="logTex">
					<span>登陆ID</span><input id="loginId" name="loginId" type="text" class="logInt" />
					<p class="saTyle">瓜朋网用户名或Email</p>
				</div>
				<p class="h10"></p>
				<p class="h10"></p>
				<div class="logTex">
					<span>密码</span><input id="password" name="password" type="password" class="logInt" />
				</div>
				<p class="h10"></p>
				<p class="h10"></p>
				<p class="h10"></p>
				<p class="raMber">
					<input name="isRemember" type="checkbox" class="reLe" />
					<span class="reTx">记住我</span>
				</p>
				<p class="h10"></p>
				<p class="h10"></p>
				<p class="h10"></p>
				<a id="loginBtn" href="javascript:void(0);" class="loginBtn">登录</a>
				<a href="/auth/missPassword.html" class="ixBtnb" style="line-height:38px;margin-left:5px;">忘了密码?</a>
			</div>
			</form>
		</div>
		<div class="cenRi">
			<div class="gpUser">
				<p class="logRia">
					还不是瓜朋网用户<br /> <a href="/auth/register.html">请从这里注册>></a>
				</p>
				<p class="h10"></p>
				<p class="h10"></p>
				<p class="h10"></p>
				<p class="h10"></p>
				<p class="thres">
					<span>合作帐号登录：</span><a href="#" class="thsa"></a><a href="#"
						class="thsb"></a><a href="#" class="thsc"></a>
				</p>
			</div>
		</div>
	</div>
	#parse("/inc/footer.html")
</body>
</html>
